EEG-and-ANI-guided anesthesia